import request from '@/unlit/request.js'

// 分类页面导航栏请求
export const indexaction = function () {
  return request.get('category/indexaction')
}

// 通过导航栏请求的二级子导航
export const currentaction = function (data) {
  return request.get('category/currentaction', data)
}

// 通过二级子导航获取的子页面的导航
export const categoryNav = function (data) {
  return request.get('category/categoryNav', data)
}

// 二级路由的商品展示

export const goodsList = function (data) {
  return request.get('goods/goodsList', data)
}